package chapter18;

public class TargetNode {

    public Node target;
    public int index;

    public TargetNode(Node target, int index) {
        this.target = target;
        this.index = index;
    }

    @Override
    public String toString() {
        return "TargetNode{" +
                "target=" + target +
                ", index=" + index +
                '}';
    }
}
